<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>MCUXpresso SDK API Reference Manual: ADC: 12-bit Analog to Digital Converter Driver</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="fs_logo.gif"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">MCUXpresso SDK API Reference Manual
   &#160;<span id="projectnumber">Rev. 0</span>
   </div>
   <div id="projectbrief">NXP Semiconductors</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>API&#160;Reference</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__adc__12b1msps__sar.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#enumval-members">Enumerator</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">ADC: 12-bit Analog to Digital Converter Driver</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<p>The MCUXpresso SDK provides Peripheral driver for the 12-bit Analog to Digital Converter (ADC) module of MCUXpresso SDK devices.</p>
<h1><a class="anchor" id="ADCTpyUC"></a>
Typical use case</h1>
<h2><a class="anchor" id="ADCIntConfig"></a>
Polling Configuration</h2>
<div class="fragment"><div class="line"><span class="keyword">volatile</span> <span class="keywordtype">bool</span> g_AdcConversionDoneFlag;</div>
<div class="line"><span class="keyword">volatile</span> uint32_t g_AdcConversionValue;</div>
<div class="line"><span class="keyword">volatile</span> uint32_t g_AdcInterruptCounter;</div>
<div class="line"></div>
<div class="line"><span class="comment">// ...</span></div>
<div class="line"></div>
<div class="line"><a class="code" href="group__adc__12b1msps__sar.html#structadc__config__t">adc_config_t</a> adcConfigStrcut;</div>
<div class="line"><a class="code" href="group__adc__12b1msps__sar.html#structadc__channel__config__t">adc_channel_config_t</a> adcChannelConfigStruct;</div>
<div class="line"></div>
<div class="line"><a class="code" href="group__adc__12b1msps__sar.html#ga69c1682f87ee05264946329a2532792e">ADC_GetDefaultConfig</a>(&amp;adcConfigStrcut);</div>
<div class="line"><a class="code" href="group__adc__12b1msps__sar.html#gaa407371ebd58e5aa7f75d38bfdad6169">ADC_Init</a>(DEMO_ADC_BASE, &amp;adcConfigStrcut);</div>
<div class="line"><a class="code" href="group__adc__12b1msps__sar.html#ga61d74093ee3f9c660255ed87073ab6f0">ADC_EnableHardwareTrigger</a>(DEMO_ADC_BASE, <span class="keyword">false</span>);</div>
<div class="line"><span class="keywordflow">if</span> (kStatus_Success == <a class="code" href="group__adc__12b1msps__sar.html#ga53e020121680274054210c6e67d2b6e4">ADC_DoAutoCalibration</a>(DEMO_ADC_BASE))</div>
<div class="line">{</div>
<div class="line">    PRINTF(<span class="stringliteral">&quot;ADC_DoAntoCalibration() Done.\r\n&quot;</span>);</div>
<div class="line">}</div>
<div class="line"><span class="keywordflow">else</span></div>
<div class="line">{</div>
<div class="line">    PRINTF(<span class="stringliteral">&quot;ADC_DoAutoCalibration() Failed.\r\n&quot;</span>);</div>
<div class="line">}</div>
<div class="line">adcChannelConfigStruct.<a class="code" href="group__adc__12b1msps__sar.html#gaad852da01296532dca52642ccfda4cbb">channelNumber</a> = DEMO_ADC_USER_CHANNEL;</div>
<div class="line">adcChannelConfigStruct.<a class="code" href="group__adc__12b1msps__sar.html#gaab4cddcc772816883795e9ac42c5701d">enableInterruptOnConversionCompleted</a> = <span class="keyword">true</span>;</div>
<div class="line">g_AdcInterruptCounter = 0U;</div>
<div class="line"></div>
<div class="line"><span class="keywordflow">while</span> (1)</div>
<div class="line">{</div>
<div class="line">    PRINTF(<span class="stringliteral">&quot;Press any key to get user channel&#39;s ADC value.\r\n&quot;</span>);</div>
<div class="line">    GETCHAR();</div>
<div class="line">    g_AdcConversionDoneFlag = <span class="keyword">false</span>;</div>
<div class="line">    <a class="code" href="group__adc__12b1msps__sar.html#gabdc0231135fe660b665f79c70ebe5574">ADC_SetChannelConfig</a>(DEMO_ADC_BASE, DEMO_ADC_CHANNEL_GROUP, &amp;adcChannelConfigStruct);</div>
<div class="line">    <span class="keywordflow">while</span> (g_AdcConversionDoneFlag == <span class="keyword">false</span>)</div>
<div class="line">    {</div>
<div class="line">    }</div>
<div class="line">    PRINTF(<span class="stringliteral">&quot;ADC Value: %d\r\n&quot;</span>, g_AdcConversionValue);</div>
<div class="line">    PRINTF(<span class="stringliteral">&quot;ADC Interrupt Counter: %d\r\n&quot;</span>, g_AdcInterruptCounter);</div>
<div class="line">}</div>
<div class="line"></div>
<div class="line"><span class="comment">// ...</span></div>
<div class="line"></div>
<div class="line"><span class="keywordtype">void</span> DEMO_ADC_IRQ_HANDLER_FUNC(<span class="keywordtype">void</span>)</div>
<div class="line">{</div>
<div class="line">    g_AdcConversionDoneFlag = <span class="keyword">true</span>;</div>
<div class="line">    g_AdcConversionValue = <a class="code" href="group__adc__12b1msps__sar.html#gad7252ba884ef96ac034afc83ae4619cc">ADC_GetChannelConversionValue</a>(DEMO_ADC_BASE, DEMO_ADC_CHANNEL_GROUP);</div>
<div class="line">    g_AdcInterruptCounter++;</div>
<div class="line">}</div>
</div><!-- fragment --><h2><a class="anchor" id="ADCPolConfig"></a>
Polling Configuration</h2>
<div class="fragment"><div class="line"><a class="code" href="group__adc__12b1msps__sar.html#structadc__config__t">adc_config_t</a> adcConfigStrcut;</div>
<div class="line"><a class="code" href="group__adc__12b1msps__sar.html#structadc__channel__config__t">adc_channel_config_t</a> adcChannelConfigStruct;</div>
<div class="line"></div>
<div class="line"><a class="code" href="group__adc__12b1msps__sar.html#ga69c1682f87ee05264946329a2532792e">ADC_GetDefaultConfig</a>(&amp;adcConfigStrcut);</div>
<div class="line"><a class="code" href="group__adc__12b1msps__sar.html#gaa407371ebd58e5aa7f75d38bfdad6169">ADC_Init</a>(DEMO_ADC_BASE, &amp;adcConfigStrcut);</div>
<div class="line"><a class="code" href="group__adc__12b1msps__sar.html#ga61d74093ee3f9c660255ed87073ab6f0">ADC_EnableHardwareTrigger</a>(DEMO_ADC_BASE, <span class="keyword">false</span>);</div>
<div class="line"><span class="keywordflow">if</span> (KStatus_Success == <a class="code" href="group__adc__12b1msps__sar.html#ga53e020121680274054210c6e67d2b6e4">ADC_DoAutoCalibration</a>(DEMO_ADC_BASE))</div>
<div class="line">{</div>
<div class="line">    PRINTF(<span class="stringliteral">&quot;ADC_DoAntoCalibration() Done.\r\n&quot;</span>);</div>
<div class="line">}</div>
<div class="line"><span class="keywordflow">else</span></div>
<div class="line">{</div>
<div class="line">    PRINTF(<span class="stringliteral">&quot;ADC_DoAutoCalibration() Failed.\r\n&quot;</span>);</div>
<div class="line">}</div>
<div class="line">adcChannelConfigStruct.<a class="code" href="group__adc__12b1msps__sar.html#gaad852da01296532dca52642ccfda4cbb">channelNumber</a> = DEMO_ADC_USER_CHANNEL;</div>
<div class="line">adcChannelConfigStruct.<a class="code" href="group__adc__12b1msps__sar.html#gaab4cddcc772816883795e9ac42c5701d">enableInterruptOnConversionCompleted</a> = <span class="keyword">false</span>;</div>
<div class="line"></div>
<div class="line"><span class="keywordflow">while</span> (1)</div>
<div class="line">{</div>
<div class="line">    PRINTF(<span class="stringliteral">&quot;Press any key to get user channel&#39;s ADC value.\r\n&quot;</span>);</div>
<div class="line">    GETCHAR();</div>
<div class="line">    <a class="code" href="group__adc__12b1msps__sar.html#gabdc0231135fe660b665f79c70ebe5574">ADC_SetChannelConfig</a>(DEMO_ADC_BASE, DEMO_ADC_CHANNEL_GROUP, &amp;adcChannelConfigStruct);</div>
<div class="line">    <span class="keywordflow">while</span> (0U == <a class="code" href="group__adc__12b1msps__sar.html#ga2036da14750059b15c079e2c1d783c64">ADC_GetChannelStatusFlags</a>(DEMO_ADC_BASE, DEMO_ADC_CHANNEL_GROUP))</div>
<div class="line">    {</div>
<div class="line">    }</div>
<div class="line">    PRINTF(<span class="stringliteral">&quot;ADC Value: %d\r\n&quot;</span>, <a class="code" href="group__adc__12b1msps__sar.html#gad7252ba884ef96ac034afc83ae4619cc">ADC_GetChannelConversionValue</a>(DEMO_ADC_BASE, DEMO_ADC_CHANNEL_GROUP));</div>
<div class="line">}</div>
</div><!-- fragment --> <table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:structadc__config__t"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#structadc__config__t">adc_config_t</a></td></tr>
<tr class="memdesc:structadc__config__t"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converter configuration.  <a href="group__adc__12b1msps__sar.html#structadc__config__t">More...</a><br/></td></tr>
<tr class="separator:structadc__config__t"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structadc__offest__config__t"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#structadc__offest__config__t">adc_offest_config_t</a></td></tr>
<tr class="memdesc:structadc__offest__config__t"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converter Offset configuration.  <a href="group__adc__12b1msps__sar.html#structadc__offest__config__t">More...</a><br/></td></tr>
<tr class="separator:structadc__offest__config__t"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structadc__hardware__compare__config__t"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#structadc__hardware__compare__config__t">adc_hardware_compare_config_t</a></td></tr>
<tr class="memdesc:structadc__hardware__compare__config__t"><td class="mdescLeft">&#160;</td><td class="mdescRight">ADC hardware compare configuration.  <a href="group__adc__12b1msps__sar.html#structadc__hardware__compare__config__t">More...</a><br/></td></tr>
<tr class="separator:structadc__hardware__compare__config__t"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structadc__channel__config__t"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#structadc__channel__config__t">adc_channel_config_t</a></td></tr>
<tr class="memdesc:structadc__channel__config__t"><td class="mdescLeft">&#160;</td><td class="mdescRight">ADC channel conversion configuration.  <a href="group__adc__12b1msps__sar.html#structadc__channel__config__t">More...</a><br/></td></tr>
<tr class="separator:structadc__channel__config__t"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga5838d9fe654d6e1503be047d08ce5b32"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga5838d9fe654d6e1503be047d08ce5b32">FSL_ADC_DRIVER_VERSION</a>&#160;&#160;&#160;(MAKE_VERSION(2, 0, 0))</td></tr>
<tr class="memdesc:ga5838d9fe654d6e1503be047d08ce5b32"><td class="mdescLeft">&#160;</td><td class="mdescRight">ADC driver version.  <a href="#ga5838d9fe654d6e1503be047d08ce5b32">More...</a><br/></td></tr>
<tr class="separator:ga5838d9fe654d6e1503be047d08ce5b32"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ga9b9efd088db3a98e8512a555b68dacb6"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga9b9efd088db3a98e8512a555b68dacb6">adc_status_flags_t</a> { <br/>
&#160;&#160;<a class="el" href="group__adc__12b1msps__sar.html#gga9b9efd088db3a98e8512a555b68dacb6a26a124489a3ad750ab3fe895c432256e">kADC_ConversionActiveFlag</a> = ADC_GS_ADACT_MASK, 
<br/>
&#160;&#160;<a class="el" href="group__adc__12b1msps__sar.html#gga9b9efd088db3a98e8512a555b68dacb6aca473dd141f867ff6bd127fbd0dd4420">kADC_CalibrationFailedFlag</a> = ADC_GS_CALF_MASK, 
<br/>
&#160;&#160;<a class="el" href="group__adc__12b1msps__sar.html#gga9b9efd088db3a98e8512a555b68dacb6ad409e989ca96b924e600f38d8a4f3cb6">kADC_AsynchronousWakeupInterruptFlag</a>
<br/>
 }</td></tr>
<tr class="memdesc:ga9b9efd088db3a98e8512a555b68dacb6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converter's status flags.  <a href="group__adc__12b1msps__sar.html#ga9b9efd088db3a98e8512a555b68dacb6">More...</a><br/></td></tr>
<tr class="separator:ga9b9efd088db3a98e8512a555b68dacb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga80a9e50536500f09d71bbaf2669bb475"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga80a9e50536500f09d71bbaf2669bb475">adc_reference_voltage_source_t</a> { <a class="el" href="group__adc__12b1msps__sar.html#gga80a9e50536500f09d71bbaf2669bb475a5e9ee06d2d0e11637b20c53a282e420d">kADC_ReferenceVoltageSourceAlt0</a> = 0U
 }</td></tr>
<tr class="memdesc:ga80a9e50536500f09d71bbaf2669bb475"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reference voltage source.  <a href="group__adc__12b1msps__sar.html#ga80a9e50536500f09d71bbaf2669bb475">More...</a><br/></td></tr>
<tr class="separator:ga80a9e50536500f09d71bbaf2669bb475"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga110319c67e48f7baa38752980936043e"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga110319c67e48f7baa38752980936043e">adc_sample_period_mode_t</a> { <br/>
&#160;&#160;<a class="el" href="group__adc__12b1msps__sar.html#gga110319c67e48f7baa38752980936043ea9c687744893914fe17d59cfc9e403959">kADC_SamplePeriod2or12Clocks</a> = 0U, 
<br/>
&#160;&#160;<a class="el" href="group__adc__12b1msps__sar.html#gga110319c67e48f7baa38752980936043ea40767f8e49acb7e374abdd1d6776795e">kADC_SamplePeriod4or16Clocks</a> = 1U, 
<br/>
&#160;&#160;<a class="el" href="group__adc__12b1msps__sar.html#gga110319c67e48f7baa38752980936043eae0e0d856ff108dd866e735d7cf3d9d15">kADC_SamplePeriod6or20Clocks</a> = 2U, 
<br/>
&#160;&#160;<a class="el" href="group__adc__12b1msps__sar.html#gga110319c67e48f7baa38752980936043ea2b479e745a372132d6b24e16cde1eb7c">kADC_SamplePeriod8or24Clocks</a> = 3U, 
<br/>
&#160;&#160;<a class="el" href="group__adc__12b1msps__sar.html#gga110319c67e48f7baa38752980936043ea5dbfde0ee4985a9b9ba63b7e749c093e">kADC_SamplePeriodLong12Clcoks</a> = kADC_SamplePeriod2or12Clocks, 
<br/>
&#160;&#160;<a class="el" href="group__adc__12b1msps__sar.html#gga110319c67e48f7baa38752980936043ea4e059ccfb09bc4fc8db266d88b1ed0c8">kADC_SamplePeriodLong16Clcoks</a> = kADC_SamplePeriod4or16Clocks, 
<br/>
&#160;&#160;<a class="el" href="group__adc__12b1msps__sar.html#gga110319c67e48f7baa38752980936043ea370fc35d725ecf897d0feba4eafcc7d3">kADC_SamplePeriodLong20Clcoks</a> = kADC_SamplePeriod6or20Clocks, 
<br/>
&#160;&#160;<a class="el" href="group__adc__12b1msps__sar.html#gga110319c67e48f7baa38752980936043eabdcc07378825dccb6049a3506cc978a5">kADC_SamplePeriodLong24Clcoks</a> = kADC_SamplePeriod8or24Clocks, 
<br/>
&#160;&#160;<a class="el" href="group__adc__12b1msps__sar.html#gga110319c67e48f7baa38752980936043ea7aa48ce81074eb4291e4c8c108b306c9">kADC_SamplePeriodShort2Clocks</a> = kADC_SamplePeriod2or12Clocks, 
<br/>
&#160;&#160;<a class="el" href="group__adc__12b1msps__sar.html#gga110319c67e48f7baa38752980936043ea32fa5b2c6b644d21e36ba89e2e8851b8">kADC_SamplePeriodShort4Clocks</a> = kADC_SamplePeriod4or16Clocks, 
<br/>
&#160;&#160;<a class="el" href="group__adc__12b1msps__sar.html#gga110319c67e48f7baa38752980936043ea65af03b9393e06810b9bd5984dda9629">kADC_SamplePeriodShort6Clocks</a> = kADC_SamplePeriod6or20Clocks, 
<br/>
&#160;&#160;<a class="el" href="group__adc__12b1msps__sar.html#gga110319c67e48f7baa38752980936043ea3f6bac06353d25e806f275fa2e509e52">kADC_SamplePeriodShort8Clocks</a> = kADC_SamplePeriod8or24Clocks
<br/>
 }</td></tr>
<tr class="memdesc:ga110319c67e48f7baa38752980936043e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sample time duration.  <a href="group__adc__12b1msps__sar.html#ga110319c67e48f7baa38752980936043e">More...</a><br/></td></tr>
<tr class="separator:ga110319c67e48f7baa38752980936043e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga47aed78c6efcf8af7af8950c5bfda044"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga47aed78c6efcf8af7af8950c5bfda044">adc_clock_source_t</a> { <br/>
&#160;&#160;<a class="el" href="group__adc__12b1msps__sar.html#gga47aed78c6efcf8af7af8950c5bfda044a576ebe98baa68fbb9cca4900f1bc100c">kADC_ClockSourceIPG</a> = 0U, 
<br/>
&#160;&#160;<a class="el" href="group__adc__12b1msps__sar.html#gga47aed78c6efcf8af7af8950c5bfda044a4e052bb05025d8203c1dc67a612ec4b7">kADC_ClockSourceIPGDiv2</a> = 1U, 
<br/>
&#160;&#160;<a class="el" href="group__adc__12b1msps__sar.html#gga47aed78c6efcf8af7af8950c5bfda044a467486968f174736d2a62db0a67ffad3">kADC_ClockSourceALT</a> = 2U, 
<br/>
&#160;&#160;<a class="el" href="group__adc__12b1msps__sar.html#gga47aed78c6efcf8af7af8950c5bfda044a75a9ae600c6368a2792a7fa11f1bcbf9">kADC_ClockSourceAD</a> = 3U
<br/>
 }</td></tr>
<tr class="memdesc:ga47aed78c6efcf8af7af8950c5bfda044"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clock source.  <a href="group__adc__12b1msps__sar.html#ga47aed78c6efcf8af7af8950c5bfda044">More...</a><br/></td></tr>
<tr class="separator:ga47aed78c6efcf8af7af8950c5bfda044"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4a3e6521c65338f070fe6b90f2b07a2a"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga4a3e6521c65338f070fe6b90f2b07a2a">adc_clock_driver_t</a> { <br/>
&#160;&#160;<a class="el" href="group__adc__12b1msps__sar.html#gga4a3e6521c65338f070fe6b90f2b07a2aa51648a44017cdc8158167d782c3278ac">kADC_ClockDriver1</a> = 0U, 
<br/>
&#160;&#160;<a class="el" href="group__adc__12b1msps__sar.html#gga4a3e6521c65338f070fe6b90f2b07a2aa1efe12ede1148ea29316e29e8fd590fb">kADC_ClockDriver2</a> = 1U, 
<br/>
&#160;&#160;<a class="el" href="group__adc__12b1msps__sar.html#gga4a3e6521c65338f070fe6b90f2b07a2aa87afba538dc7e965114c6fc1353090c3">kADC_ClockDriver4</a> = 2U, 
<br/>
&#160;&#160;<a class="el" href="group__adc__12b1msps__sar.html#gga4a3e6521c65338f070fe6b90f2b07a2aa7e2a0f3c06e6b88c3ecd72f3dc8d41a6">kADC_ClockDriver8</a> = 3U
<br/>
 }</td></tr>
<tr class="memdesc:ga4a3e6521c65338f070fe6b90f2b07a2a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clock divider for the converter.  <a href="group__adc__12b1msps__sar.html#ga4a3e6521c65338f070fe6b90f2b07a2a">More...</a><br/></td></tr>
<tr class="separator:ga4a3e6521c65338f070fe6b90f2b07a2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf88bfcbfc4a19c82f8bb423218d13cda"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#gaf88bfcbfc4a19c82f8bb423218d13cda">adc_resolution_t</a> { <br/>
&#160;&#160;<a class="el" href="group__adc__12b1msps__sar.html#ggaf88bfcbfc4a19c82f8bb423218d13cdaabf3e2dd3e94a57b07c291dde055957e0">kADC_Resolution8Bit</a> = 0U, 
<br/>
&#160;&#160;<a class="el" href="group__adc__12b1msps__sar.html#ggaf88bfcbfc4a19c82f8bb423218d13cdaa862f1d412b57ff93e21ff371a57abd98">kADC_Resolution10Bit</a> = 1U, 
<br/>
&#160;&#160;<a class="el" href="group__adc__12b1msps__sar.html#ggaf88bfcbfc4a19c82f8bb423218d13cdaa8c879e001f4fc89b1d67b75fe7852202">kADC_Resolution12Bit</a> = 2U
<br/>
 }</td></tr>
<tr class="memdesc:gaf88bfcbfc4a19c82f8bb423218d13cda"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converter's resolution.  <a href="group__adc__12b1msps__sar.html#gaf88bfcbfc4a19c82f8bb423218d13cda">More...</a><br/></td></tr>
<tr class="separator:gaf88bfcbfc4a19c82f8bb423218d13cda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaaad2e15aea85bfb064575c9424c8b7f7"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#gaaad2e15aea85bfb064575c9424c8b7f7">adc_hardware_compare_mode_t</a> { <br/>
&#160;&#160;<a class="el" href="group__adc__12b1msps__sar.html#ggaaad2e15aea85bfb064575c9424c8b7f7a143f2e6b064ecbb16c5d1e7c4ce2463b">kADC_HardwareCompareMode0</a> = 0U, 
<br/>
&#160;&#160;<a class="el" href="group__adc__12b1msps__sar.html#ggaaad2e15aea85bfb064575c9424c8b7f7aa8721777f06cd345c7ec65f5e4e2a973">kADC_HardwareCompareMode1</a> = 1U, 
<br/>
&#160;&#160;<a class="el" href="group__adc__12b1msps__sar.html#ggaaad2e15aea85bfb064575c9424c8b7f7a611654b81d84d2d14e686524a2446f0c">kADC_HardwareCompareMode2</a> = 2U, 
<br/>
&#160;&#160;<a class="el" href="group__adc__12b1msps__sar.html#ggaaad2e15aea85bfb064575c9424c8b7f7aadd87d9d5dc67ef6baf4878dd57592cb">kADC_HardwareCompareMode3</a> = 3U
<br/>
 }</td></tr>
<tr class="memdesc:gaaad2e15aea85bfb064575c9424c8b7f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converter hardware compare mode.  <a href="group__adc__12b1msps__sar.html#gaaad2e15aea85bfb064575c9424c8b7f7">More...</a><br/></td></tr>
<tr class="separator:gaaad2e15aea85bfb064575c9424c8b7f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5057b50038de3ec61aa23fdf6039edee"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga5057b50038de3ec61aa23fdf6039edee">adc_hardware_average_mode_t</a> { <br/>
&#160;&#160;<a class="el" href="group__adc__12b1msps__sar.html#gga5057b50038de3ec61aa23fdf6039edeeaf39c8892d166cde6a202d3a5d5afb970">kADC_HardwareAverageCount4</a> = 0U, 
<br/>
&#160;&#160;<a class="el" href="group__adc__12b1msps__sar.html#gga5057b50038de3ec61aa23fdf6039edeea64e657f493e47f665b3e87b9b514afc8">kADC_HardwareAverageCount8</a> = 1U, 
<br/>
&#160;&#160;<a class="el" href="group__adc__12b1msps__sar.html#gga5057b50038de3ec61aa23fdf6039edeea7c42d79c1e0eed68dd40f030c6870639">kADC_HardwareAverageCount16</a> = 2U, 
<br/>
&#160;&#160;<a class="el" href="group__adc__12b1msps__sar.html#gga5057b50038de3ec61aa23fdf6039edeea9ec04ff198a8a9c98a4451febeac9797">kADC_HardwareAverageCount32</a> = 3U, 
<br/>
&#160;&#160;<a class="el" href="group__adc__12b1msps__sar.html#gga5057b50038de3ec61aa23fdf6039edeea0411428810c0fedbd5c2753826c725d5">kADC_HardwareAverageDiasable</a> = 4U
<br/>
 }</td></tr>
<tr class="memdesc:ga5057b50038de3ec61aa23fdf6039edee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converter hardware average mode.  <a href="group__adc__12b1msps__sar.html#ga5057b50038de3ec61aa23fdf6039edee">More...</a><br/></td></tr>
<tr class="separator:ga5057b50038de3ec61aa23fdf6039edee"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:ga19d83f209fe0268bd19db07a40afc183"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga19d83f209fe0268bd19db07a40afc183">adc_config_t::enableOverWrite</a></td></tr>
<tr class="memdesc:ga19d83f209fe0268bd19db07a40afc183"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable the overwriting.  <a href="#ga19d83f209fe0268bd19db07a40afc183">More...</a><br/></td></tr>
<tr class="separator:ga19d83f209fe0268bd19db07a40afc183"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2a0ab8cefc9823454fe3c2293d1c4add"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga2a0ab8cefc9823454fe3c2293d1c4add">adc_config_t::enableContinuousConversion</a></td></tr>
<tr class="memdesc:ga2a0ab8cefc9823454fe3c2293d1c4add"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable the continuous conversion mode.  <a href="#ga2a0ab8cefc9823454fe3c2293d1c4add">More...</a><br/></td></tr>
<tr class="separator:ga2a0ab8cefc9823454fe3c2293d1c4add"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga29f0906444baf75003692febf409bc07"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga29f0906444baf75003692febf409bc07">adc_config_t::enableHighSpeed</a></td></tr>
<tr class="memdesc:ga29f0906444baf75003692febf409bc07"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable the high-speed mode.  <a href="#ga29f0906444baf75003692febf409bc07">More...</a><br/></td></tr>
<tr class="separator:ga29f0906444baf75003692febf409bc07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf0b0c627142525a2b0306e462c863e1e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#gaf0b0c627142525a2b0306e462c863e1e">adc_config_t::enableLowPower</a></td></tr>
<tr class="memdesc:gaf0b0c627142525a2b0306e462c863e1e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable the low power mode.  <a href="#gaf0b0c627142525a2b0306e462c863e1e">More...</a><br/></td></tr>
<tr class="separator:gaf0b0c627142525a2b0306e462c863e1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0333df72c9a193681417adeb6bb203a0"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga0333df72c9a193681417adeb6bb203a0">adc_config_t::enableLongSample</a></td></tr>
<tr class="memdesc:ga0333df72c9a193681417adeb6bb203a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable the long sample mode.  <a href="#ga0333df72c9a193681417adeb6bb203a0">More...</a><br/></td></tr>
<tr class="separator:ga0333df72c9a193681417adeb6bb203a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadbb2c387fadd9482e02b6c1db8698f41"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#gadbb2c387fadd9482e02b6c1db8698f41">adc_config_t::enableAsynchronousClockOutput</a></td></tr>
<tr class="memdesc:gadbb2c387fadd9482e02b6c1db8698f41"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable the asynchronous clock output.  <a href="#gadbb2c387fadd9482e02b6c1db8698f41">More...</a><br/></td></tr>
<tr class="separator:gadbb2c387fadd9482e02b6c1db8698f41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga796b7bfba0959eb808b843832dcf0279"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__adc__12b1msps__sar.html#ga80a9e50536500f09d71bbaf2669bb475">adc_reference_voltage_source_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga796b7bfba0959eb808b843832dcf0279">adc_config_t::referenceVoltageSource</a></td></tr>
<tr class="memdesc:ga796b7bfba0959eb808b843832dcf0279"><td class="mdescLeft">&#160;</td><td class="mdescRight">Select the reference voltage source.  <a href="#ga796b7bfba0959eb808b843832dcf0279">More...</a><br/></td></tr>
<tr class="separator:ga796b7bfba0959eb808b843832dcf0279"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5d941c8171a5e5039040474e5c114278"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__adc__12b1msps__sar.html#ga110319c67e48f7baa38752980936043e">adc_sample_period_mode_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga5d941c8171a5e5039040474e5c114278">adc_config_t::samplePeriodMode</a></td></tr>
<tr class="memdesc:ga5d941c8171a5e5039040474e5c114278"><td class="mdescLeft">&#160;</td><td class="mdescRight">Select the sample period in long sample mode or short mode.  <a href="#ga5d941c8171a5e5039040474e5c114278">More...</a><br/></td></tr>
<tr class="separator:ga5d941c8171a5e5039040474e5c114278"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5031662a5db79e7448b810c463062e1d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__adc__12b1msps__sar.html#ga47aed78c6efcf8af7af8950c5bfda044">adc_clock_source_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga5031662a5db79e7448b810c463062e1d">adc_config_t::clockSource</a></td></tr>
<tr class="memdesc:ga5031662a5db79e7448b810c463062e1d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Select the input clock source to generate the internal clock ADCK.  <a href="#ga5031662a5db79e7448b810c463062e1d">More...</a><br/></td></tr>
<tr class="separator:ga5031662a5db79e7448b810c463062e1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga04a397df8ca708dcff3710d76ccecd61"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__adc__12b1msps__sar.html#ga4a3e6521c65338f070fe6b90f2b07a2a">adc_clock_driver_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga04a397df8ca708dcff3710d76ccecd61">adc_config_t::clockDriver</a></td></tr>
<tr class="memdesc:ga04a397df8ca708dcff3710d76ccecd61"><td class="mdescLeft">&#160;</td><td class="mdescRight">Select the divide ratio used by the ADC to generate the internal clock ADCK.  <a href="#ga04a397df8ca708dcff3710d76ccecd61">More...</a><br/></td></tr>
<tr class="separator:ga04a397df8ca708dcff3710d76ccecd61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4d83267d7a76c64b2a209c4afc8a30cd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__adc__12b1msps__sar.html#gaf88bfcbfc4a19c82f8bb423218d13cda">adc_resolution_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga4d83267d7a76c64b2a209c4afc8a30cd">adc_config_t::resolution</a></td></tr>
<tr class="memdesc:ga4d83267d7a76c64b2a209c4afc8a30cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Select the ADC resolution mode.  <a href="#ga4d83267d7a76c64b2a209c4afc8a30cd">More...</a><br/></td></tr>
<tr class="separator:ga4d83267d7a76c64b2a209c4afc8a30cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga61676f66f36c8cc1c5402b2ba7471e46"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga61676f66f36c8cc1c5402b2ba7471e46">adc_offest_config_t::enableSigned</a></td></tr>
<tr class="memdesc:ga61676f66f36c8cc1c5402b2ba7471e46"><td class="mdescLeft">&#160;</td><td class="mdescRight">if false,The offset value is added with the raw result.  <a href="#ga61676f66f36c8cc1c5402b2ba7471e46">More...</a><br/></td></tr>
<tr class="separator:ga61676f66f36c8cc1c5402b2ba7471e46"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga79136d5e9ab922cd1a0d200812e6e832"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga79136d5e9ab922cd1a0d200812e6e832">adc_offest_config_t::offsetValue</a></td></tr>
<tr class="memdesc:ga79136d5e9ab922cd1a0d200812e6e832"><td class="mdescLeft">&#160;</td><td class="mdescRight">User configurable offset value(0-4095).  <a href="#ga79136d5e9ab922cd1a0d200812e6e832">More...</a><br/></td></tr>
<tr class="separator:ga79136d5e9ab922cd1a0d200812e6e832"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf1db114f296c68ff883b773d45b1964a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__adc__12b1msps__sar.html#gaaad2e15aea85bfb064575c9424c8b7f7">adc_hardware_compare_mode_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#gaf1db114f296c68ff883b773d45b1964a">adc_hardware_compare_config_t::hardwareCompareMode</a></td></tr>
<tr class="memdesc:gaf1db114f296c68ff883b773d45b1964a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Select the hardware compare mode.  <a href="#gaf1db114f296c68ff883b773d45b1964a">More...</a><br/></td></tr>
<tr class="separator:gaf1db114f296c68ff883b773d45b1964a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga40873953dfaca82e7f8e0346a312e2e0"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga40873953dfaca82e7f8e0346a312e2e0">adc_hardware_compare_config_t::value1</a></td></tr>
<tr class="memdesc:ga40873953dfaca82e7f8e0346a312e2e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Setting value1(0-4095) for hardware compare mode.  <a href="#ga40873953dfaca82e7f8e0346a312e2e0">More...</a><br/></td></tr>
<tr class="separator:ga40873953dfaca82e7f8e0346a312e2e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6bee6b6b6d9376acf6a05e0a3855a6c9"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga6bee6b6b6d9376acf6a05e0a3855a6c9">adc_hardware_compare_config_t::value2</a></td></tr>
<tr class="memdesc:ga6bee6b6b6d9376acf6a05e0a3855a6c9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Setting value2(0-4095) for hardware compare mode.  <a href="#ga6bee6b6b6d9376acf6a05e0a3855a6c9">More...</a><br/></td></tr>
<tr class="separator:ga6bee6b6b6d9376acf6a05e0a3855a6c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaad852da01296532dca52642ccfda4cbb"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#gaad852da01296532dca52642ccfda4cbb">adc_channel_config_t::channelNumber</a></td></tr>
<tr class="memdesc:gaad852da01296532dca52642ccfda4cbb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Setting the conversion channel number.  <a href="#gaad852da01296532dca52642ccfda4cbb">More...</a><br/></td></tr>
<tr class="separator:gaad852da01296532dca52642ccfda4cbb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaab4cddcc772816883795e9ac42c5701d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#gaab4cddcc772816883795e9ac42c5701d">adc_channel_config_t::enableInterruptOnConversionCompleted</a></td></tr>
<tr class="memdesc:gaab4cddcc772816883795e9ac42c5701d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Generate an interrupt request once the conversion is completed.  <a href="#gaab4cddcc772816883795e9ac42c5701d">More...</a><br/></td></tr>
<tr class="separator:gaab4cddcc772816883795e9ac42c5701d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Initialization</h2></td></tr>
<tr class="memitem:gaa407371ebd58e5aa7f75d38bfdad6169"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#gaa407371ebd58e5aa7f75d38bfdad6169">ADC_Init</a> (ADC_Type *base, const <a class="el" href="group__adc__12b1msps__sar.html#structadc__config__t">adc_config_t</a> *config)</td></tr>
<tr class="memdesc:gaa407371ebd58e5aa7f75d38bfdad6169"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize the ADC module.  <a href="#gaa407371ebd58e5aa7f75d38bfdad6169">More...</a><br/></td></tr>
<tr class="separator:gaa407371ebd58e5aa7f75d38bfdad6169"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9e87d0842217dd30d2d9699df580e237"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga9e87d0842217dd30d2d9699df580e237">ADC_Deinit</a> (ADC_Type *base)</td></tr>
<tr class="memdesc:ga9e87d0842217dd30d2d9699df580e237"><td class="mdescLeft">&#160;</td><td class="mdescRight">De-initializes the ADC module.  <a href="#ga9e87d0842217dd30d2d9699df580e237">More...</a><br/></td></tr>
<tr class="separator:ga9e87d0842217dd30d2d9699df580e237"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga69c1682f87ee05264946329a2532792e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga69c1682f87ee05264946329a2532792e">ADC_GetDefaultConfig</a> (<a class="el" href="group__adc__12b1msps__sar.html#structadc__config__t">adc_config_t</a> *config)</td></tr>
<tr class="memdesc:ga69c1682f87ee05264946329a2532792e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets an available pre-defined settings for the converter's configuration.  <a href="#ga69c1682f87ee05264946329a2532792e">More...</a><br/></td></tr>
<tr class="separator:ga69c1682f87ee05264946329a2532792e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabdc0231135fe660b665f79c70ebe5574"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#gabdc0231135fe660b665f79c70ebe5574">ADC_SetChannelConfig</a> (ADC_Type *base, uint32_t channelGroup, const <a class="el" href="group__adc__12b1msps__sar.html#structadc__channel__config__t">adc_channel_config_t</a> *config)</td></tr>
<tr class="memdesc:gabdc0231135fe660b665f79c70ebe5574"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the conversion channel.  <a href="#gabdc0231135fe660b665f79c70ebe5574">More...</a><br/></td></tr>
<tr class="separator:gabdc0231135fe660b665f79c70ebe5574"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad7252ba884ef96ac034afc83ae4619cc"><td class="memItemLeft" align="right" valign="top">static uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#gad7252ba884ef96ac034afc83ae4619cc">ADC_GetChannelConversionValue</a> (ADC_Type *base, uint32_t channelGroup)</td></tr>
<tr class="memdesc:gad7252ba884ef96ac034afc83ae4619cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the conversion value.  <a href="#gad7252ba884ef96ac034afc83ae4619cc">More...</a><br/></td></tr>
<tr class="separator:gad7252ba884ef96ac034afc83ae4619cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2036da14750059b15c079e2c1d783c64"><td class="memItemLeft" align="right" valign="top">static uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga2036da14750059b15c079e2c1d783c64">ADC_GetChannelStatusFlags</a> (ADC_Type *base, uint32_t channelGroup)</td></tr>
<tr class="memdesc:ga2036da14750059b15c079e2c1d783c64"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the status flags of channel.  <a href="#ga2036da14750059b15c079e2c1d783c64">More...</a><br/></td></tr>
<tr class="separator:ga2036da14750059b15c079e2c1d783c64"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga53e020121680274054210c6e67d2b6e4"><td class="memItemLeft" align="right" valign="top">status_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga53e020121680274054210c6e67d2b6e4">ADC_DoAutoCalibration</a> (ADC_Type *base)</td></tr>
<tr class="memdesc:ga53e020121680274054210c6e67d2b6e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Automates the hardware calibration.  <a href="#ga53e020121680274054210c6e67d2b6e4">More...</a><br/></td></tr>
<tr class="separator:ga53e020121680274054210c6e67d2b6e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga32bc964854dec8f304cf34e8df320c6a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga32bc964854dec8f304cf34e8df320c6a">ADC_SetOffsetConfig</a> (ADC_Type *base, const <a class="el" href="group__adc__12b1msps__sar.html#structadc__offest__config__t">adc_offest_config_t</a> *config)</td></tr>
<tr class="memdesc:ga32bc964854dec8f304cf34e8df320c6a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set user defined offset.  <a href="#ga32bc964854dec8f304cf34e8df320c6a">More...</a><br/></td></tr>
<tr class="separator:ga32bc964854dec8f304cf34e8df320c6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga05884660d3a0fe8d5fb19dbed29c1954"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga05884660d3a0fe8d5fb19dbed29c1954">ADC_EnableDMA</a> (ADC_Type *base, bool enable)</td></tr>
<tr class="memdesc:ga05884660d3a0fe8d5fb19dbed29c1954"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables generating the DMA trigger when the conversion is complete.  <a href="#ga05884660d3a0fe8d5fb19dbed29c1954">More...</a><br/></td></tr>
<tr class="separator:ga05884660d3a0fe8d5fb19dbed29c1954"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga61d74093ee3f9c660255ed87073ab6f0"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga61d74093ee3f9c660255ed87073ab6f0">ADC_EnableHardwareTrigger</a> (ADC_Type *base, bool enable)</td></tr>
<tr class="memdesc:ga61d74093ee3f9c660255ed87073ab6f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables the hardware trigger mode.  <a href="#ga61d74093ee3f9c660255ed87073ab6f0">More...</a><br/></td></tr>
<tr class="separator:ga61d74093ee3f9c660255ed87073ab6f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf1edf14f1af191bf293a9341274e1cf6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#gaf1edf14f1af191bf293a9341274e1cf6">ADC_SetHardwareCompareConfig</a> (ADC_Type *base, const <a class="el" href="group__adc__12b1msps__sar.html#structadc__hardware__compare__config__t">adc_hardware_compare_config_t</a> *config)</td></tr>
<tr class="memdesc:gaf1edf14f1af191bf293a9341274e1cf6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the hardware compare mode.  <a href="#gaf1edf14f1af191bf293a9341274e1cf6">More...</a><br/></td></tr>
<tr class="separator:gaf1edf14f1af191bf293a9341274e1cf6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2d55fa95561b47bc57234a6145926224"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga2d55fa95561b47bc57234a6145926224">ADC_SetHardwareAverageConfig</a> (ADC_Type *base, <a class="el" href="group__adc__12b1msps__sar.html#ga5057b50038de3ec61aa23fdf6039edee">adc_hardware_average_mode_t</a> mode)</td></tr>
<tr class="memdesc:ga2d55fa95561b47bc57234a6145926224"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the hardware average mode.  <a href="#ga2d55fa95561b47bc57234a6145926224">More...</a><br/></td></tr>
<tr class="separator:ga2d55fa95561b47bc57234a6145926224"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga92ee1fdbb8cdadbdc1850e94afed432b"><td class="memItemLeft" align="right" valign="top">static uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga92ee1fdbb8cdadbdc1850e94afed432b">ADC_GetStatusFlags</a> (ADC_Type *base)</td></tr>
<tr class="memdesc:ga92ee1fdbb8cdadbdc1850e94afed432b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the converter's status flags.  <a href="#ga92ee1fdbb8cdadbdc1850e94afed432b">More...</a><br/></td></tr>
<tr class="separator:ga92ee1fdbb8cdadbdc1850e94afed432b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga871b519e0f4f7966725201fc07614020"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga871b519e0f4f7966725201fc07614020">ADC_ClearStatusFlags</a> (ADC_Type *base, uint32_t mask)</td></tr>
<tr class="memdesc:ga871b519e0f4f7966725201fc07614020"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the converter's status falgs.  <a href="#ga871b519e0f4f7966725201fc07614020">More...</a><br/></td></tr>
<tr class="separator:ga871b519e0f4f7966725201fc07614020"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/><h2 class="groupheader">Data Structure Documentation</h2>
<a name="structadc__config__t" id="structadc__config__t"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct adc_config_t</td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="textblock"></div><table class="memberdecls">
<tr><td colspan="2"><h3>Data Fields</h3></td></tr>
<tr class="memitem:ga19d83f209fe0268bd19db07a40afc183"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga19d83f209fe0268bd19db07a40afc183">enableOverWrite</a></td></tr>
<tr class="memdesc:ga19d83f209fe0268bd19db07a40afc183"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable the overwriting.  <a href="group__adc__12b1msps__sar.html#ga19d83f209fe0268bd19db07a40afc183">More...</a><br/></td></tr>
<tr class="separator:ga19d83f209fe0268bd19db07a40afc183"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2a0ab8cefc9823454fe3c2293d1c4add"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga2a0ab8cefc9823454fe3c2293d1c4add">enableContinuousConversion</a></td></tr>
<tr class="memdesc:ga2a0ab8cefc9823454fe3c2293d1c4add"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable the continuous conversion mode.  <a href="group__adc__12b1msps__sar.html#ga2a0ab8cefc9823454fe3c2293d1c4add">More...</a><br/></td></tr>
<tr class="separator:ga2a0ab8cefc9823454fe3c2293d1c4add"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga29f0906444baf75003692febf409bc07"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga29f0906444baf75003692febf409bc07">enableHighSpeed</a></td></tr>
<tr class="memdesc:ga29f0906444baf75003692febf409bc07"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable the high-speed mode.  <a href="group__adc__12b1msps__sar.html#ga29f0906444baf75003692febf409bc07">More...</a><br/></td></tr>
<tr class="separator:ga29f0906444baf75003692febf409bc07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf0b0c627142525a2b0306e462c863e1e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#gaf0b0c627142525a2b0306e462c863e1e">enableLowPower</a></td></tr>
<tr class="memdesc:gaf0b0c627142525a2b0306e462c863e1e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable the low power mode.  <a href="group__adc__12b1msps__sar.html#gaf0b0c627142525a2b0306e462c863e1e">More...</a><br/></td></tr>
<tr class="separator:gaf0b0c627142525a2b0306e462c863e1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0333df72c9a193681417adeb6bb203a0"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga0333df72c9a193681417adeb6bb203a0">enableLongSample</a></td></tr>
<tr class="memdesc:ga0333df72c9a193681417adeb6bb203a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable the long sample mode.  <a href="group__adc__12b1msps__sar.html#ga0333df72c9a193681417adeb6bb203a0">More...</a><br/></td></tr>
<tr class="separator:ga0333df72c9a193681417adeb6bb203a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadbb2c387fadd9482e02b6c1db8698f41"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#gadbb2c387fadd9482e02b6c1db8698f41">enableAsynchronousClockOutput</a></td></tr>
<tr class="memdesc:gadbb2c387fadd9482e02b6c1db8698f41"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable the asynchronous clock output.  <a href="group__adc__12b1msps__sar.html#gadbb2c387fadd9482e02b6c1db8698f41">More...</a><br/></td></tr>
<tr class="separator:gadbb2c387fadd9482e02b6c1db8698f41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga796b7bfba0959eb808b843832dcf0279"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__adc__12b1msps__sar.html#ga80a9e50536500f09d71bbaf2669bb475">adc_reference_voltage_source_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga796b7bfba0959eb808b843832dcf0279">referenceVoltageSource</a></td></tr>
<tr class="memdesc:ga796b7bfba0959eb808b843832dcf0279"><td class="mdescLeft">&#160;</td><td class="mdescRight">Select the reference voltage source.  <a href="group__adc__12b1msps__sar.html#ga796b7bfba0959eb808b843832dcf0279">More...</a><br/></td></tr>
<tr class="separator:ga796b7bfba0959eb808b843832dcf0279"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5d941c8171a5e5039040474e5c114278"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__adc__12b1msps__sar.html#ga110319c67e48f7baa38752980936043e">adc_sample_period_mode_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga5d941c8171a5e5039040474e5c114278">samplePeriodMode</a></td></tr>
<tr class="memdesc:ga5d941c8171a5e5039040474e5c114278"><td class="mdescLeft">&#160;</td><td class="mdescRight">Select the sample period in long sample mode or short mode.  <a href="group__adc__12b1msps__sar.html#ga5d941c8171a5e5039040474e5c114278">More...</a><br/></td></tr>
<tr class="separator:ga5d941c8171a5e5039040474e5c114278"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5031662a5db79e7448b810c463062e1d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__adc__12b1msps__sar.html#ga47aed78c6efcf8af7af8950c5bfda044">adc_clock_source_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga5031662a5db79e7448b810c463062e1d">clockSource</a></td></tr>
<tr class="memdesc:ga5031662a5db79e7448b810c463062e1d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Select the input clock source to generate the internal clock ADCK.  <a href="group__adc__12b1msps__sar.html#ga5031662a5db79e7448b810c463062e1d">More...</a><br/></td></tr>
<tr class="separator:ga5031662a5db79e7448b810c463062e1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga04a397df8ca708dcff3710d76ccecd61"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__adc__12b1msps__sar.html#ga4a3e6521c65338f070fe6b90f2b07a2a">adc_clock_driver_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga04a397df8ca708dcff3710d76ccecd61">clockDriver</a></td></tr>
<tr class="memdesc:ga04a397df8ca708dcff3710d76ccecd61"><td class="mdescLeft">&#160;</td><td class="mdescRight">Select the divide ratio used by the ADC to generate the internal clock ADCK.  <a href="group__adc__12b1msps__sar.html#ga04a397df8ca708dcff3710d76ccecd61">More...</a><br/></td></tr>
<tr class="separator:ga04a397df8ca708dcff3710d76ccecd61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4d83267d7a76c64b2a209c4afc8a30cd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__adc__12b1msps__sar.html#gaf88bfcbfc4a19c82f8bb423218d13cda">adc_resolution_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga4d83267d7a76c64b2a209c4afc8a30cd">resolution</a></td></tr>
<tr class="memdesc:ga4d83267d7a76c64b2a209c4afc8a30cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Select the ADC resolution mode.  <a href="group__adc__12b1msps__sar.html#ga4d83267d7a76c64b2a209c4afc8a30cd">More...</a><br/></td></tr>
<tr class="separator:ga4d83267d7a76c64b2a209c4afc8a30cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>

</div>
</div>
<a name="structadc__offest__config__t" id="structadc__offest__config__t"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct adc_offest_config_t</td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="textblock"></div><table class="memberdecls">
<tr><td colspan="2"><h3>Data Fields</h3></td></tr>
<tr class="memitem:ga61676f66f36c8cc1c5402b2ba7471e46"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga61676f66f36c8cc1c5402b2ba7471e46">enableSigned</a></td></tr>
<tr class="memdesc:ga61676f66f36c8cc1c5402b2ba7471e46"><td class="mdescLeft">&#160;</td><td class="mdescRight">if false,The offset value is added with the raw result.  <a href="group__adc__12b1msps__sar.html#ga61676f66f36c8cc1c5402b2ba7471e46">More...</a><br/></td></tr>
<tr class="separator:ga61676f66f36c8cc1c5402b2ba7471e46"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga79136d5e9ab922cd1a0d200812e6e832"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga79136d5e9ab922cd1a0d200812e6e832">offsetValue</a></td></tr>
<tr class="memdesc:ga79136d5e9ab922cd1a0d200812e6e832"><td class="mdescLeft">&#160;</td><td class="mdescRight">User configurable offset value(0-4095).  <a href="group__adc__12b1msps__sar.html#ga79136d5e9ab922cd1a0d200812e6e832">More...</a><br/></td></tr>
<tr class="separator:ga79136d5e9ab922cd1a0d200812e6e832"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>

</div>
</div>
<a name="structadc__hardware__compare__config__t" id="structadc__hardware__compare__config__t"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct adc_hardware_compare_config_t</td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="textblock"><p>In kADC_HardwareCompareMode0, compare true if the result is less than the value1. In kADC_HardwareCompareMode1, compare true if the result is greater than or equal to value1. In kADC_HardwareCompareMode2, Value1 &lt;= Value2, compare true if the result is less than value1 Or the result is Greater than value2. Value1 &gt; Value2, compare true if the result is less than value1 And the result is Greater than value2. In kADC_HardwareCompareMode3, Value1 &lt;= Value2, compare true if the result is greater than or equal to value1 And the result is less than or equal to value2. Value1 &gt; Value2, compare true if the result is greater than or equal to value1 Or the result is less than or equal to value2. </p>
</div><table class="memberdecls">
<tr><td colspan="2"><h3>Data Fields</h3></td></tr>
<tr class="memitem:gaf1db114f296c68ff883b773d45b1964a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__adc__12b1msps__sar.html#gaaad2e15aea85bfb064575c9424c8b7f7">adc_hardware_compare_mode_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#gaf1db114f296c68ff883b773d45b1964a">hardwareCompareMode</a></td></tr>
<tr class="memdesc:gaf1db114f296c68ff883b773d45b1964a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Select the hardware compare mode.  <a href="group__adc__12b1msps__sar.html#gaf1db114f296c68ff883b773d45b1964a">More...</a><br/></td></tr>
<tr class="separator:gaf1db114f296c68ff883b773d45b1964a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga40873953dfaca82e7f8e0346a312e2e0"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga40873953dfaca82e7f8e0346a312e2e0">value1</a></td></tr>
<tr class="memdesc:ga40873953dfaca82e7f8e0346a312e2e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Setting value1(0-4095) for hardware compare mode.  <a href="group__adc__12b1msps__sar.html#ga40873953dfaca82e7f8e0346a312e2e0">More...</a><br/></td></tr>
<tr class="separator:ga40873953dfaca82e7f8e0346a312e2e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6bee6b6b6d9376acf6a05e0a3855a6c9"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#ga6bee6b6b6d9376acf6a05e0a3855a6c9">value2</a></td></tr>
<tr class="memdesc:ga6bee6b6b6d9376acf6a05e0a3855a6c9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Setting value2(0-4095) for hardware compare mode.  <a href="group__adc__12b1msps__sar.html#ga6bee6b6b6d9376acf6a05e0a3855a6c9">More...</a><br/></td></tr>
<tr class="separator:ga6bee6b6b6d9376acf6a05e0a3855a6c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>

</div>
</div>
<a name="structadc__channel__config__t" id="structadc__channel__config__t"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct adc_channel_config_t</td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="textblock"></div><table class="memberdecls">
<tr><td colspan="2"><h3>Data Fields</h3></td></tr>
<tr class="memitem:gaad852da01296532dca52642ccfda4cbb"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#gaad852da01296532dca52642ccfda4cbb">channelNumber</a></td></tr>
<tr class="memdesc:gaad852da01296532dca52642ccfda4cbb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Setting the conversion channel number.  <a href="group__adc__12b1msps__sar.html#gaad852da01296532dca52642ccfda4cbb">More...</a><br/></td></tr>
<tr class="separator:gaad852da01296532dca52642ccfda4cbb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaab4cddcc772816883795e9ac42c5701d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__adc__12b1msps__sar.html#gaab4cddcc772816883795e9ac42c5701d">enableInterruptOnConversionCompleted</a></td></tr>
<tr class="memdesc:gaab4cddcc772816883795e9ac42c5701d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Generate an interrupt request once the conversion is completed.  <a href="group__adc__12b1msps__sar.html#gaab4cddcc772816883795e9ac42c5701d">More...</a><br/></td></tr>
<tr class="separator:gaab4cddcc772816883795e9ac42c5701d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="ga5838d9fe654d6e1503be047d08ce5b32"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FSL_ADC_DRIVER_VERSION&#160;&#160;&#160;(MAKE_VERSION(2, 0, 0))</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Version 2.0.0. </p>

</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a class="anchor" id="ga9b9efd088db3a98e8512a555b68dacb6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__adc__12b1msps__sar.html#ga9b9efd088db3a98e8512a555b68dacb6">adc_status_flags_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="gga9b9efd088db3a98e8512a555b68dacb6a26a124489a3ad750ab3fe895c432256e"></a>kADC_ConversionActiveFlag</em>&nbsp;</td><td class="fielddoc">
<p>Conversion is active,not support w1c. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga9b9efd088db3a98e8512a555b68dacb6aca473dd141f867ff6bd127fbd0dd4420"></a>kADC_CalibrationFailedFlag</em>&nbsp;</td><td class="fielddoc">
<p>Calibration is failed,support w1c. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga9b9efd088db3a98e8512a555b68dacb6ad409e989ca96b924e600f38d8a4f3cb6"></a>kADC_AsynchronousWakeupInterruptFlag</em>&nbsp;</td><td class="fielddoc">
<p>Asynchronous wakeup interrupt occured, support w1c. </p>
</td></tr>
</table>

</div>
</div>
<a class="anchor" id="ga80a9e50536500f09d71bbaf2669bb475"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__adc__12b1msps__sar.html#ga80a9e50536500f09d71bbaf2669bb475">adc_reference_voltage_source_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="gga80a9e50536500f09d71bbaf2669bb475a5e9ee06d2d0e11637b20c53a282e420d"></a>kADC_ReferenceVoltageSourceAlt0</em>&nbsp;</td><td class="fielddoc">
<p>For external pins pair of VrefH and VrefL. </p>
</td></tr>
</table>

</div>
</div>
<a class="anchor" id="ga110319c67e48f7baa38752980936043e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__adc__12b1msps__sar.html#ga110319c67e48f7baa38752980936043e">adc_sample_period_mode_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="gga110319c67e48f7baa38752980936043ea9c687744893914fe17d59cfc9e403959"></a>kADC_SamplePeriod2or12Clocks</em>&nbsp;</td><td class="fielddoc">
<p>Long sample 12 clocks or short sample 2 clocks. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga110319c67e48f7baa38752980936043ea40767f8e49acb7e374abdd1d6776795e"></a>kADC_SamplePeriod4or16Clocks</em>&nbsp;</td><td class="fielddoc">
<p>Long sample 16 clocks or short sample 4 clocks. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga110319c67e48f7baa38752980936043eae0e0d856ff108dd866e735d7cf3d9d15"></a>kADC_SamplePeriod6or20Clocks</em>&nbsp;</td><td class="fielddoc">
<p>Long sample 20 clocks or short sample 6 clocks. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga110319c67e48f7baa38752980936043ea2b479e745a372132d6b24e16cde1eb7c"></a>kADC_SamplePeriod8or24Clocks</em>&nbsp;</td><td class="fielddoc">
<p>Long sample 24 clocks or short sample 8 clocks. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga110319c67e48f7baa38752980936043ea5dbfde0ee4985a9b9ba63b7e749c093e"></a>kADC_SamplePeriodLong12Clcoks</em>&nbsp;</td><td class="fielddoc">
<p>Long sample 12 clocks. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga110319c67e48f7baa38752980936043ea4e059ccfb09bc4fc8db266d88b1ed0c8"></a>kADC_SamplePeriodLong16Clcoks</em>&nbsp;</td><td class="fielddoc">
<p>Long sample 16 clocks. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga110319c67e48f7baa38752980936043ea370fc35d725ecf897d0feba4eafcc7d3"></a>kADC_SamplePeriodLong20Clcoks</em>&nbsp;</td><td class="fielddoc">
<p>Long sample 20 clocks. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga110319c67e48f7baa38752980936043eabdcc07378825dccb6049a3506cc978a5"></a>kADC_SamplePeriodLong24Clcoks</em>&nbsp;</td><td class="fielddoc">
<p>Long sample 24 clocks. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga110319c67e48f7baa38752980936043ea7aa48ce81074eb4291e4c8c108b306c9"></a>kADC_SamplePeriodShort2Clocks</em>&nbsp;</td><td class="fielddoc">
<p>Short sample 2 clocks. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga110319c67e48f7baa38752980936043ea32fa5b2c6b644d21e36ba89e2e8851b8"></a>kADC_SamplePeriodShort4Clocks</em>&nbsp;</td><td class="fielddoc">
<p>Short sample 4 clocks. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga110319c67e48f7baa38752980936043ea65af03b9393e06810b9bd5984dda9629"></a>kADC_SamplePeriodShort6Clocks</em>&nbsp;</td><td class="fielddoc">
<p>Short sample 6 clocks. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga110319c67e48f7baa38752980936043ea3f6bac06353d25e806f275fa2e509e52"></a>kADC_SamplePeriodShort8Clocks</em>&nbsp;</td><td class="fielddoc">
<p>Short sample 8 clocks. </p>
</td></tr>
</table>

</div>
</div>
<a class="anchor" id="ga47aed78c6efcf8af7af8950c5bfda044"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__adc__12b1msps__sar.html#ga47aed78c6efcf8af7af8950c5bfda044">adc_clock_source_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="gga47aed78c6efcf8af7af8950c5bfda044a576ebe98baa68fbb9cca4900f1bc100c"></a>kADC_ClockSourceIPG</em>&nbsp;</td><td class="fielddoc">
<p>Select IPG clock to generate ADCK. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga47aed78c6efcf8af7af8950c5bfda044a4e052bb05025d8203c1dc67a612ec4b7"></a>kADC_ClockSourceIPGDiv2</em>&nbsp;</td><td class="fielddoc">
<p>Select IPG clock divided by 2 to generate ADCK. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga47aed78c6efcf8af7af8950c5bfda044a467486968f174736d2a62db0a67ffad3"></a>kADC_ClockSourceALT</em>&nbsp;</td><td class="fielddoc">
<p>Select alternate clock to generate ADCK. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga47aed78c6efcf8af7af8950c5bfda044a75a9ae600c6368a2792a7fa11f1bcbf9"></a>kADC_ClockSourceAD</em>&nbsp;</td><td class="fielddoc">
<p>Select Asynchronous clock to generate ADCK. </p>
</td></tr>
</table>

</div>
</div>
<a class="anchor" id="ga4a3e6521c65338f070fe6b90f2b07a2a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__adc__12b1msps__sar.html#ga4a3e6521c65338f070fe6b90f2b07a2a">adc_clock_driver_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="gga4a3e6521c65338f070fe6b90f2b07a2aa51648a44017cdc8158167d782c3278ac"></a>kADC_ClockDriver1</em>&nbsp;</td><td class="fielddoc">
<p>For divider 1 from the input clock to the module. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga4a3e6521c65338f070fe6b90f2b07a2aa1efe12ede1148ea29316e29e8fd590fb"></a>kADC_ClockDriver2</em>&nbsp;</td><td class="fielddoc">
<p>For divider 2 from the input clock to the module. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga4a3e6521c65338f070fe6b90f2b07a2aa87afba538dc7e965114c6fc1353090c3"></a>kADC_ClockDriver4</em>&nbsp;</td><td class="fielddoc">
<p>For divider 4 from the input clock to the module. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga4a3e6521c65338f070fe6b90f2b07a2aa7e2a0f3c06e6b88c3ecd72f3dc8d41a6"></a>kADC_ClockDriver8</em>&nbsp;</td><td class="fielddoc">
<p>For divider 8 from the input clock to the module. </p>
</td></tr>
</table>

</div>
</div>
<a class="anchor" id="gaf88bfcbfc4a19c82f8bb423218d13cda"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__adc__12b1msps__sar.html#gaf88bfcbfc4a19c82f8bb423218d13cda">adc_resolution_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="ggaf88bfcbfc4a19c82f8bb423218d13cdaabf3e2dd3e94a57b07c291dde055957e0"></a>kADC_Resolution8Bit</em>&nbsp;</td><td class="fielddoc">
<p>Single End 8-bit resolution. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ggaf88bfcbfc4a19c82f8bb423218d13cdaa862f1d412b57ff93e21ff371a57abd98"></a>kADC_Resolution10Bit</em>&nbsp;</td><td class="fielddoc">
<p>Single End 10-bit resolution. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ggaf88bfcbfc4a19c82f8bb423218d13cdaa8c879e001f4fc89b1d67b75fe7852202"></a>kADC_Resolution12Bit</em>&nbsp;</td><td class="fielddoc">
<p>Single End 12-bit resolution. </p>
</td></tr>
</table>

</div>
</div>
<a class="anchor" id="gaaad2e15aea85bfb064575c9424c8b7f7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__adc__12b1msps__sar.html#gaaad2e15aea85bfb064575c9424c8b7f7">adc_hardware_compare_mode_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="ggaaad2e15aea85bfb064575c9424c8b7f7a143f2e6b064ecbb16c5d1e7c4ce2463b"></a>kADC_HardwareCompareMode0</em>&nbsp;</td><td class="fielddoc">
<p>Compare true if the result is less than the value1. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ggaaad2e15aea85bfb064575c9424c8b7f7aa8721777f06cd345c7ec65f5e4e2a973"></a>kADC_HardwareCompareMode1</em>&nbsp;</td><td class="fielddoc">
<p>Compare true if the result is greater than or equal to value1. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ggaaad2e15aea85bfb064575c9424c8b7f7a611654b81d84d2d14e686524a2446f0c"></a>kADC_HardwareCompareMode2</em>&nbsp;</td><td class="fielddoc">
<p>Value1 &lt;= Value2, compare true if the result is less than value1 Or the result is Greater than value2. </p>
<p>Value1 &gt; Value2, compare true if the result is less than value1 And the result is greater than value2 </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ggaaad2e15aea85bfb064575c9424c8b7f7aadd87d9d5dc67ef6baf4878dd57592cb"></a>kADC_HardwareCompareMode3</em>&nbsp;</td><td class="fielddoc">
<p>Value1 &lt;= Value2, compare true if the result is greater than or equal to value1 And the result is less than or equal to value2. </p>
<p>Value1 &gt; Value2, compare true if the result is greater than or equal to value1 Or the result is less than or equal to value2. </p>
</td></tr>
</table>

</div>
</div>
<a class="anchor" id="ga5057b50038de3ec61aa23fdf6039edee"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__adc__12b1msps__sar.html#ga5057b50038de3ec61aa23fdf6039edee">adc_hardware_average_mode_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="gga5057b50038de3ec61aa23fdf6039edeeaf39c8892d166cde6a202d3a5d5afb970"></a>kADC_HardwareAverageCount4</em>&nbsp;</td><td class="fielddoc">
<p>For hardware average with 4 samples. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga5057b50038de3ec61aa23fdf6039edeea64e657f493e47f665b3e87b9b514afc8"></a>kADC_HardwareAverageCount8</em>&nbsp;</td><td class="fielddoc">
<p>For hardware average with 8 samples. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga5057b50038de3ec61aa23fdf6039edeea7c42d79c1e0eed68dd40f030c6870639"></a>kADC_HardwareAverageCount16</em>&nbsp;</td><td class="fielddoc">
<p>For hardware average with 16 samples. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga5057b50038de3ec61aa23fdf6039edeea9ec04ff198a8a9c98a4451febeac9797"></a>kADC_HardwareAverageCount32</em>&nbsp;</td><td class="fielddoc">
<p>For hardware average with 32 samples. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga5057b50038de3ec61aa23fdf6039edeea0411428810c0fedbd5c2753826c725d5"></a>kADC_HardwareAverageDiasable</em>&nbsp;</td><td class="fielddoc">
<p>Disable the hardware average function. </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="gaa407371ebd58e5aa7f75d38bfdad6169"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ADC_Init </td>
          <td>(</td>
          <td class="paramtype">ADC_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="group__adc__12b1msps__sar.html#structadc__config__t">adc_config_t</a> *&#160;</td>
          <td class="paramname"><em>config</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>ADC peripheral base address. </td></tr>
    <tr><td class="paramname">config</td><td>Pointer to "adc_config_t" structure. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga9e87d0842217dd30d2d9699df580e237"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ADC_Deinit </td>
          <td>(</td>
          <td class="paramtype">ADC_Type *&#160;</td>
          <td class="paramname"><em>base</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>ADC peripheral base address. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga69c1682f87ee05264946329a2532792e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ADC_GetDefaultConfig </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__adc__12b1msps__sar.html#structadc__config__t">adc_config_t</a> *&#160;</td>
          <td class="paramname"><em>config</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This function initializes the converter configuration structure with available settings. The default values are: </p>
<div class="fragment"><div class="line">*  config-&gt;enableAsynchronousClockOutput = <span class="keyword">true</span>;</div>
<div class="line">*  config-&gt;enableOverWrite =               <span class="keyword">false</span>;</div>
<div class="line">*  config-&gt;enableContinuousConversion =    <span class="keyword">false</span>;</div>
<div class="line">*  config-&gt;enableHighSpeed =               <span class="keyword">false</span>;</div>
<div class="line">*  config-&gt;enableLowPower =                <span class="keyword">false</span>;</div>
<div class="line">*  config-&gt;enableLongSample =              <span class="keyword">false</span>;</div>
<div class="line">*  config-&gt;referenceVoltageSource =        <a class="code" href="group__adc__12b1msps__sar.html#gga80a9e50536500f09d71bbaf2669bb475a5e9ee06d2d0e11637b20c53a282e420d">kADC_ReferenceVoltageSourceAlt0</a>;</div>
<div class="line">*  config-&gt;samplePeriodMode =              <a class="code" href="group__adc__12b1msps__sar.html#gga110319c67e48f7baa38752980936043ea9c687744893914fe17d59cfc9e403959">kADC_SamplePeriod2or12Clocks</a>;</div>
<div class="line">*  config-&gt;clockSource =                   <a class="code" href="group__adc__12b1msps__sar.html#gga47aed78c6efcf8af7af8950c5bfda044a75a9ae600c6368a2792a7fa11f1bcbf9">kADC_ClockSourceAD</a>;</div>
<div class="line">*  config-&gt;clockDriver =                   <a class="code" href="group__adc__12b1msps__sar.html#gga4a3e6521c65338f070fe6b90f2b07a2aa51648a44017cdc8158167d782c3278ac">kADC_ClockDriver1</a>;</div>
<div class="line">*  config-&gt;resolution =                    <a class="code" href="group__adc__12b1msps__sar.html#ggaf88bfcbfc4a19c82f8bb423218d13cdaa8c879e001f4fc89b1d67b75fe7852202">kADC_Resolution12Bit</a>;</div>
<div class="line">* </div>
</div><!-- fragment --> <dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>ADC peripheral base address. </td></tr>
    <tr><td class="paramname">config</td><td>Pointer to the configuration structure. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gabdc0231135fe660b665f79c70ebe5574"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ADC_SetChannelConfig </td>
          <td>(</td>
          <td class="paramtype">ADC_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>channelGroup</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="group__adc__12b1msps__sar.html#structadc__channel__config__t">adc_channel_config_t</a> *&#160;</td>
          <td class="paramname"><em>config</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This operation triggers the conversion when in software trigger mode. When in hardware trigger mode, this API configures the channel while the external trigger source helps to trigger the conversion.</p>
<p>Note that the "Channel Group" has a detailed description. To allow sequential conversions of the ADC to be triggered by internal peripherals, the ADC has more than one group of status and control registers, one for each conversion. The channel group parameter indicates which group of registers are used, for example channel group 0 is for Group A registers and channel group 1 is for Group B registers. The channel groups are used in a "ping-pong" approach to control the ADC operation. At any point, only one of the channel groups is actively controlling ADC conversions. The channel group 0 is used for both software and hardware trigger modes. Channel groups 1 and greater indicate potentially multiple channel group registers for use only in hardware trigger mode. See the chip configuration information in the appropriate MCU reference manual about the number of SC1n registers (channel groups) specific to this device. None of the channel groups 1 or greater are used for software trigger operation. Therefore, writing to these channel groups does not initiate a new conversion. Updating the channel group 0 while a different channel group is actively controlling a conversion is allowed and vice versa. Writing any of the channel group registers while that specific channel group is actively controlling a conversion aborts the current conversion.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>ADC peripheral base address. </td></tr>
    <tr><td class="paramname">channelGroup</td><td>Channel group index. </td></tr>
    <tr><td class="paramname">config</td><td>Pointer to the "adc_channel_config_t" structure for the conversion channel. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gad7252ba884ef96ac034afc83ae4619cc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static uint32_t ADC_GetChannelConversionValue </td>
          <td>(</td>
          <td class="paramtype">ADC_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>channelGroup</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>ADC peripheral base address. </td></tr>
    <tr><td class="paramname">channelGroup</td><td>Channel group index.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Conversion value. </dd></dl>

</div>
</div>
<a class="anchor" id="ga2036da14750059b15c079e2c1d783c64"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static uint32_t ADC_GetChannelStatusFlags </td>
          <td>(</td>
          <td class="paramtype">ADC_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>channelGroup</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>A conversion is completed when the result of the conversion is transferred into the data result registers. (provided the compare function &amp; hardware averaging is disabled), this is indicated by the setting of COCOn. If hardware averaging is enabled, COCOn sets only, if the last of the selected number of conversions is complete. If the compare function is enabled, COCOn sets and conversion result data is transferred only if the compare condition is true. If both hardware averaging and compare functions are enabled, then COCOn sets only if the last of the selected number of conversions is complete and the compare condition is true.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>ADC peripheral base address. </td></tr>
    <tr><td class="paramname">channelGroup</td><td>Channel group index.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Status flags of channel.return 0 means COCO flag is 0,return 1 means COCOflag is 1. </dd></dl>

</div>
</div>
<a class="anchor" id="ga53e020121680274054210c6e67d2b6e4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">status_t ADC_DoAutoCalibration </td>
          <td>(</td>
          <td class="paramtype">ADC_Type *&#160;</td>
          <td class="paramname"><em>base</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This auto calibration helps to adjust the plus/minus side gain automatically. Execute the calibration before using the converter. Note that the software trigger should be used during calibration.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>ADC peripheral base address.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Execution status. </dd></dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">kStatus_Success</td><td>Calibration is done successfully. </td></tr>
    <tr><td class="paramname">kStatus_Fail</td><td>Calibration has failed. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga32bc964854dec8f304cf34e8df320c6a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ADC_SetOffsetConfig </td>
          <td>(</td>
          <td class="paramtype">ADC_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="group__adc__12b1msps__sar.html#structadc__offest__config__t">adc_offest_config_t</a> *&#160;</td>
          <td class="paramname"><em>config</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>ADC peripheral base address. </td></tr>
    <tr><td class="paramname">config</td><td>Pointer to "adc_offest_config_t" structure. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga05884660d3a0fe8d5fb19dbed29c1954"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void ADC_EnableDMA </td>
          <td>(</td>
          <td class="paramtype">ADC_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enable</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>ADC peripheral base address. </td></tr>
    <tr><td class="paramname">enable</td><td>Switcher of the DMA feature. "true" means enabled, "false" means not enabled. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga61d74093ee3f9c660255ed87073ab6f0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void ADC_EnableHardwareTrigger </td>
          <td>(</td>
          <td class="paramtype">ADC_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enable</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>ADC peripheral base address. </td></tr>
    <tr><td class="paramname">enable</td><td>Switcher of the trigger mode. "true" means hardware tirgger mode,"false" means software mode. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gaf1edf14f1af191bf293a9341274e1cf6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ADC_SetHardwareCompareConfig </td>
          <td>(</td>
          <td class="paramtype">ADC_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="group__adc__12b1msps__sar.html#structadc__hardware__compare__config__t">adc_hardware_compare_config_t</a> *&#160;</td>
          <td class="paramname"><em>config</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The hardware compare mode provides a way to process the conversion result automatically by using hardware. Only the result in the compare range is available. To compare the range, see "adc_hardware_compare_mode_t" or the appopriate reference manual for more information.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>ADC peripheral base address. </td></tr>
    <tr><td class="paramname">Pointer</td><td>to "adc_hardware_compare_config_t" structure. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga2d55fa95561b47bc57234a6145926224"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ADC_SetHardwareAverageConfig </td>
          <td>(</td>
          <td class="paramtype">ADC_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__adc__12b1msps__sar.html#ga5057b50038de3ec61aa23fdf6039edee">adc_hardware_average_mode_t</a>&#160;</td>
          <td class="paramname"><em>mode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The hardware average mode provides a way to process the conversion result automatically by using hardware. The multiple conversion results are accumulated and averaged internally making them easier to read.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>ADC peripheral base address. </td></tr>
    <tr><td class="paramname">mode</td><td>Setting the hardware average mode. See "adc_hardware_average_mode_t". </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga92ee1fdbb8cdadbdc1850e94afed432b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static uint32_t ADC_GetStatusFlags </td>
          <td>(</td>
          <td class="paramtype">ADC_Type *&#160;</td>
          <td class="paramname"><em>base</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>ADC peripheral base address.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Flags' mask if indicated flags are asserted. See "adc_status_flags_t". </dd></dl>

</div>
</div>
<a class="anchor" id="ga871b519e0f4f7966725201fc07614020"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ADC_ClearStatusFlags </td>
          <td>(</td>
          <td class="paramtype">ADC_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>mask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>ADC peripheral base address. </td></tr>
    <tr><td class="paramname">mask</td><td>Mask value for the cleared flags. See "adc_status_flags_t". </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a class="anchor" id="ga19d83f209fe0268bd19db07a40afc183"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool adc_config_t::enableOverWrite</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ga2a0ab8cefc9823454fe3c2293d1c4add"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool adc_config_t::enableContinuousConversion</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ga29f0906444baf75003692febf409bc07"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool adc_config_t::enableHighSpeed</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="gaf0b0c627142525a2b0306e462c863e1e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool adc_config_t::enableLowPower</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ga0333df72c9a193681417adeb6bb203a0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool adc_config_t::enableLongSample</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="gadbb2c387fadd9482e02b6c1db8698f41"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool adc_config_t::enableAsynchronousClockOutput</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ga796b7bfba0959eb808b843832dcf0279"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__adc__12b1msps__sar.html#ga80a9e50536500f09d71bbaf2669bb475">adc_reference_voltage_source_t</a> adc_config_t::referenceVoltageSource</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ga5d941c8171a5e5039040474e5c114278"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__adc__12b1msps__sar.html#ga110319c67e48f7baa38752980936043e">adc_sample_period_mode_t</a> adc_config_t::samplePeriodMode</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ga5031662a5db79e7448b810c463062e1d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__adc__12b1msps__sar.html#ga47aed78c6efcf8af7af8950c5bfda044">adc_clock_source_t</a> adc_config_t::clockSource</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ga04a397df8ca708dcff3710d76ccecd61"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__adc__12b1msps__sar.html#ga4a3e6521c65338f070fe6b90f2b07a2a">adc_clock_driver_t</a> adc_config_t::clockDriver</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ga4d83267d7a76c64b2a209c4afc8a30cd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__adc__12b1msps__sar.html#gaf88bfcbfc4a19c82f8bb423218d13cda">adc_resolution_t</a> adc_config_t::resolution</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ga61676f66f36c8cc1c5402b2ba7471e46"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool adc_offest_config_t::enableSigned</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>if true,The offset value is subtracted from the raw converted value. </p>

</div>
</div>
<a class="anchor" id="ga79136d5e9ab922cd1a0d200812e6e832"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t adc_offest_config_t::offsetValue</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="gaf1db114f296c68ff883b773d45b1964a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__adc__12b1msps__sar.html#gaaad2e15aea85bfb064575c9424c8b7f7">adc_hardware_compare_mode_t</a> adc_hardware_compare_config_t::hardwareCompareMode</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>See "adc_hardware_compare_mode_t". </p>

</div>
</div>
<a class="anchor" id="ga40873953dfaca82e7f8e0346a312e2e0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t adc_hardware_compare_config_t::value1</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ga6bee6b6b6d9376acf6a05e0a3855a6c9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t adc_hardware_compare_config_t::value2</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="gaad852da01296532dca52642ccfda4cbb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t adc_channel_config_t::channelNumber</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The available range is 0-31. See channel connection information for each chip in Reference Manual document. </p>

</div>
</div>
<a class="anchor" id="gaab4cddcc772816883795e9ac42c5701d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool adc_channel_config_t::enableInterruptOnConversionCompleted</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.5-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul class="foot">
    <li class="footer">&copy; 2016 NXP Semiconductors. All rights reserved.
    </li>
  </ul>
</div>
</body>
</html>
